import pytest


@pytest.mark.parametrize(
    "input,expected",
    [
        ("1+1", 2),
        pytest.param("2-4", -2, marks=[pytest.mark.minus, pytest.mark.xfail], id="input:2-4"),
        pytest.param("2*3", 6, marks=[pytest.mark.multiplication, pytest.mark.skip], id="input:2*3"),
        pytest.param("4/2", 2, marks=pytest.mark.division, id="input:4/2")
    ]
)
def test_eval(input, expected):
    assert eval(input) == expected